package api

import (
	"github.com/gin-gonic/gin"
	"readme/api/hander"
)

func LoadRouter(r *gin.Engine) {
	api := r.Group("./api")
	{
		user := api.Group("./user")
		{
			user.POST("./sendSms", hander.SendSms)
			user.POST("./login", hander.Login)
			user.POST("./list", hander.List)
		}
	}
}
